package com.leeyu.controller;

import com.leeyu.service.OrderManageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class OrderManageController {

    @Autowired
    private OrderManageService orderManageService;

    @RequestMapping("/create")
    public void create(){
        log.info("创建订单成功！");
        orderManageService.save();
    }
}
